package com.dandan.tzx;

import android.app.Application;
import android.content.Context;

import com.dandan.tzx.router.DDRouter;

/**
 * Created by tanzhenxing
 * Date: 2017/12/22 下午2:53
 * Description:
 */
public class App extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        SimpleApplicationContext.application = this;
        DDRouter.getInstance().init(this, true);
    }

    public static Application getApp() {
        return SimpleApplicationContext.application;
    }
}
